package org.jeecg.modules.wlhy.customerrechargebill.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: hy_customer_recharge_bill
 * @Author: duanlikao
 * @Date:   2023-01-10
 * @Version: V1.0
 */
@Data
@TableName("hy_customer_recharge_bill")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="hy_customer_recharge_bill对象", description="hy_customer_recharge_bill")
public class HyCustomerRechargeBill implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private java.lang.String id;
    /**货主*/
    @Excel(name = "货主", width = 15, dictTable = "hy_customer", dicText = "customer_name", dicCode = "id")
    @Dict(dictTable = "hy_customer", dicText = "customer_name", dicCode = "id")
    @ApiModelProperty(value = "货主")
    private String customerId;
    /**公司*/
    @Excel(name = "公司", width = 15, dictTable = "hy_company", dicText = "company_name", dicCode = "id")
    @Dict(dictTable = "hy_company", dicText = "company_name", dicCode = "id")
    @ApiModelProperty(value = "公司")
    private String companyId;
	/**流水号*/
	@Excel(name = "流水号", width = 15)
    @ApiModelProperty(value = "流水号")
    private java.lang.String billNum;
	/**单据类型(1支付运费2平台垫付)*/
	@Excel(name = "单据类型(1支付运费2平台垫付)", width = 15)
    @ApiModelProperty(value = "单据类型(1支付运费2平台垫付)")
    @Dict(dicCode = "bill_type")
    private java.lang.String billType;
	/**充值凭证*/
	@Excel(name = "充值凭证", width = 15)
    @ApiModelProperty(value = "充值凭证")
    private java.lang.String billFile;

	/**借方账号*/
	@Excel(name = "借方账号", width = 15)
    @ApiModelProperty(value = "借方账号")
    private java.lang.String dbaccno;
	/**借方多级账簿号*/
	@Excel(name = "借方多级账簿号", width = 15)
    @ApiModelProperty(value = "借方多级账簿号")
    private java.lang.String dblogaccno;
	/**借方名称*/
	@Excel(name = "借方名称", width = 15)
    @ApiModelProperty(value = "借方名称")
    private java.lang.String dbaccname;
	/**贷方账号*/
	@Excel(name = "贷方账号", width = 15)
    @ApiModelProperty(value = "贷方账号")
    private java.lang.String craccno;
	/**贷方多级账簿号*/
	@Excel(name = "贷方多级账簿号", width = 15)
    @ApiModelProperty(value = "贷方多级账簿号")
    private java.lang.String crlogaccno;
	/**贷方名称*/
	@Excel(name = "贷方名称", width = 15)
    @ApiModelProperty(value = "贷方名称")
    private java.lang.String craccname;

	/**金额*/
	@Excel(name = "金额", width = 15)
    @ApiModelProperty(value = "金额")
    private java.math.BigDecimal amt;
	/**充值时间*/
	@Excel(name = "充值时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "充值时间")
    private java.util.Date rechargeTime;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**删除状态(0-正常,1-已删除)*/
	@Excel(name = "删除状态(0-正常,1-已删除)", width = 15)
    @ApiModelProperty(value = "删除状态(0-正常,1-已删除)")
    @TableLogic
    private java.lang.String delFlag;
}
